<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="#" method="post" >
        <table border="1px" cellpadding="2" align="center">
            <tr>
                <td align="right">用户名:</td>
                <td>
                    <!-- 1.文本输入框控件 -->
                    <input type="text" name="username" />	 
                </td>
             </tr>
             <tr>
                 <td align="right">密码:</td>
                 <!-- 2.密码输入框控件 -->
                 <td><input type="password" name="password" /></td>
             </tr>
             <tr>
                <td align="right">性别:</td>
                <td>
                    <input type="radio" name="gender" value="male" /> 男 
                    <input type="radio" name="gender" value="female" /> 女 
                </td>
            </tr>
            <tr>
                <td align="right">兴趣:</td>
               <td>
               <input type="checkbox" name="interest" value="film" /> 看电影
               <input type="checkbox" name="interest" value="code" /> 敲代码
               <input type="checkbox" name="interest" value="game" /> 玩游戏
               </td>
            </tr><tr>
                <td align="right">头像:</td>
                <td>
                    <input type="file" name="photo" />
                </td>
            </tr>
            <tr>
                <td colspan="2"  align="center">
                    <input type="submit" value="注册" />  
                    <input type="reset" value="重填" />    
                </td>
            </tr>             
        </table>
        </form>
</body>
</html>
